package com.gas.gm.util;

public abstract class GasFileMode {
	
	public static final String SERVER_CONFIGS_DIR=System.getProperty("user.dir")+System.getProperty("file.separator")+"server";
	
	public static final String USER_CONFIGS_DIR=System.getProperty("user.dir")+System.getProperty("file.separator")+"users";

	public static final int FILE_BINARY_MODE=0;
	
	public static final int FILE_XML_MODE=1;
	
	public static final String SYSTEM_ID="Gas SMSC";
	
	public static String getObjectFilePath(String s){
		return USER_CONFIGS_DIR+System.getProperty("file.separator")+s+".bin";
	}
	
	public static String getUserXMLFilePath()
	{
		return USER_CONFIGS_DIR+System.getProperty("file.separator")+"users.xml";
	}
	
	public static String getPrefixPropPath()
	{
		return SERVER_CONFIGS_DIR+System.getProperty("file.separator")+"prefix.properties";
	}

}
